package com.my.mapper;

import com.my.bean.MenuResourse;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.Role;
import com.my.bean.ZtreeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 菜单资源表 Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2018-08-26
 */
public interface MenuResourseMapper extends BaseMapper<MenuResourse> {
    List<MenuResourse> findMenuByRole(@Param("param")Role role);
    List<ZtreeBean> findMenuZtree();
}